package com.magicode.cms.dao.impl;

import org.springframework.stereotype.Service;

import com.magicode.cms.dao.IProgramDao;
import com.magicode.cms.entiy.base.Program;

@Service("daoprogram")
public class ProgramDaoImpl extends BaseDaoImpl<Program> implements IProgramDao{

	@Override
	public void deletePic(String picId,String programId) {
		String sql = "DELETE FROM program_pic_rela WHERE pic_id = ? and program_id=?";
		commonDaoService.querySql(sql,picId,programId);
	}

}
